DescribeAutoDelConfig
Description
call the DescribeAutoDelConfig interface to query the configuration information for automatic deletion of vulnerabilities.
Request Method
POST
Request Path
/apsara/route/aegis/DescribeAutoDelConfig
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestId | string | 43186B14-5A39-44E0-860E-8B24D1EF82CC | request ID. |
Days | integer | 7 | the number of days the system saves the vulnerability before it is automatically deleted. |
Example
Successful Response example
{
"RequestId":"43186B14-5A39-44E0-860E-8B24D1EF82CC",
"Days":"7"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}
title: DescribeCheckWarningDetail
sidebar_position: 3
DescribeCheckWarningDetail
Description
call the DescribeCheckWarningDetail interface to query the details of the specified check item.
Request Method
POST
Request Path
/apsara/route/Sas/DescribeCheckWarningDetail
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
SourceIp | BODY | string | No | 1.2.3.4 | access source IP address. |
CheckWarningId | BODY | long | Yes | 1 | check item alarm ID. description to query the details of the specified check item, you need to provide the check item alarm ID, which can be obtained by the DescribeCheckWarnings interface. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
Lang | BODY | string | No | zh | the language type of the request and receive message. zh: Chinese en: English |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
Item | string | password expiration warning | check item name. |
Type | string | Identity | the type of baseline check item. |
Description | string | password is about to expire | supplementary description of the baseline check risk item. |
CheckId | long | 1 | check item ID. |
RequestId | string | 09969D2C-4FAD-429E-BFBF-9A60DEF8BF6F | request ID of the result. |
Level | string | high | the risk level of the check item. high: high, highlighted in red, indicating a high risk level. medium: medium, highlighted in orange, indicating that the risk level is medium. low: low, highlighted in gray, indicating a low risk level. |
Prompt | string | Password expiration warning | check tips for baseline check risk items. |
Advice | string | Fix now | reinforcement suggestions for baseline inspection risk items. |
Example
Successful Response example
{
"Item":"password expiration warning",
"Type":"Identity",
"Description":"password is about to expire",
"CheckId":"1",
"RequestId":"09969D2C-4FAD-429E-BFBF-9A60DEF8BF6F",
"Level":"high",
"Prompt":"Password expiration warning",
"Advice":"Fix now"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}